package mlz.d_javabean;

//实体JavaBean
public class Student {
    //成员变量 -> 私有化
    private String name;
    private double score;

    //公共的无参构造方法
    public Student() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
